﻿<%@ Control Language="C#" ClassName="FormsWorkTypeFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataFormId" runat="server" Text="Form Id:" AssociatedControlID="dataFormId" /></td>
        <td>
					<data:EntityDropDownList runat="server" ID="dataFormId" DataSourceID="FormIdFormsDataSource" DataTextField="FormName" DataValueField="FormId" SelectedValue='<%# Bind("FormId") %>' AppendNullItem="true" Required="true" NullItemText="< Please Choose ...>" ErrorText="Required" />
					<data:FormsDataSource ID="FormIdFormsDataSource" runat="server" SelectMethod="GetAll"  />
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataWorkType" runat="server" Text="Work Type:" AssociatedControlID="dataWorkType" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataWorkType" Text='<%# Bind("WorkType") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataWorkType" runat="server" Display="Dynamic" ControlToValidate="dataWorkType" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


